package com.wtzz.police.base.model.annotaions;

import com.wtzz.police.base.model.enums.Role;
import com.wtzz.police.base.model.enums.RoleCheckType;

import java.lang.annotation.*;

@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RoleCheck {

    Role[] value() default {};

    RoleCheckType type() default RoleCheckType.ONLY;
}